/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package pe.com.cotelasa.scp.controlador;

import java.io.Serializable;
import javax.faces.event.ActionEvent;
import javax.inject.Named;
import org.apache.log4j.Logger;
import org.springframework.context.annotation.Scope;
import pe.com.cotelasa.common.controlador.MBGenerico;
import pe.com.cotelasa.scp.common.IObserver;
import pe.com.cotelasa.scp.dominio.common.URLPaginacion;

/**
 *
 * @author Jorge
 */
@SuppressWarnings({ "serial", "unchecked" })
@Named(value = "MBVentaCaja")
@Scope("request")
public class MBVentaCaja extends MBGenerico implements IMantenedor,IObserver, Serializable{
    
    private static Logger logger = Logger.getLogger(MBVentaCaja.class);

    @Override
    public String actualizar() {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    @Override
    public String guardar() {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    @Override
    public void eliminar(ActionEvent actionEvent) {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    @Override
    public String editar() {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    @Override
    public String nuevo() {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    @Override
    public String ver() {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    @Override
    public String aceptar() {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    @Override
    public String retroceder() {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    @Override
    public String cancelar() {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    @Override
    public void actualizarObservador(Object object) {
        throw new UnsupportedOperationException("Not supported yet.");
    }
    
    public String aperturaCierreCaja(){
        return URLPaginacion.Ventas.URL_CAJA_APERTURA_CIERRE;
    }
    
   
    
    public void aperturarCaja(){
    
    }
    
    public void cerrarCaja(){
    
    }
}
